<#include "/admin/public.html">
<style type="text/css">
.layui-form-checkbox[lay-skin=primary] {
   height: 30px !important;
   line-height: 28px!important;
}
#uploadfile .filename{
	display:inline-block;
	width:180px;
}
</style>
<div class="uk-layui-form">
	<form class="layui-form uk-form" action="/admin/configuration/saveLink.html" method="post">
			
		<input type="hidden" name="id" id="id" value="${configurationmanagementData.id!''}">
		<input type="hidden" name="title" id="title" value="${configurationmanagementData.title!''}">
	    <!-- 链接设置 -->
	    <div class="link-setting">
    		<div class="layui-form-item">
	            <label class="layui-form-label">选择链接分类</label>
	            <div class="layui-input-inline">
			      	<select id="prentid" name="prentid" placeholder="请选择链接分类" lay-filter="selectPrentid">
						<#if dictList?? && dictList??>
							<#list dictList as dic>
								<option value="${dic.id!''}">${dic.label!''}</option>
							</#list>
						</#if>
					</select>
			    </div>
	        </div>
	        <div class="layui-form-item">
	            <label class="layui-form-label">链接名称</label>
	            <div class="layui-input-inline linkname">
			      	<input type="text" name="linkname"  class="layui-input" placeholder="请输入链接名称">
			    </div>
	        </div>
	        <div class="layui-form-item">
	            <label class="layui-form-label">链接地址</label>
	            <div class="layui-input-inline linkurl">
			      	<input type="text" name="linkurl"  class="layui-input" placeholder="请输入链接地址">
			    </div>
	        </div>
    	</div>
       <div class="layui-form-button">
           <div class="layui-button-block">
               <button class="layui-btn" lay-submit lay-filter="formDemo">立即提交</button>
               <button type="reset" class="layui-btn layui-btn-primary">重置</button>
           </div>
       </div>
   </form>
</div>
<script>

layui.use(['form','laydate','layedit'], function() {
    var form = layui.form();
    form.render(); //更新全部
});

</script>